package com.gupaoedu.baifc.utils;

import com.alibaba.fastjson.JSONObject;
import com.gupaoedu.baifc.entity.User;

/**
 * projectName: wdvlive
 * packageName: com.gupaoedu.baifc.utils
 * Created: 2019/3/11.
 * Auther: baifc
 */
public class UserUtils {

    public void setUser(User user, String parameters) {
        try {
            User user1 = JSONObject.parseObject(parameters, User.class);
            user = user1;
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
